//
// Created by lzq on 2024/6/21.
//

#include <iostream>
#include <vector>
using namespace  std;


int main() {
    vector<int> v1(10,1);
    v1.push_back(2);
    cout<<"v1是否为空:"<<v1.empty()<<endl;
    for(int i=0;i<v1.size();i++){
        cout<<v1.at(i)<<endl;
    }

    return 0;

}